Skip to content

프로필 이미지 컴포넌트 수정#51

Merged
HWAN0218 merged 1 commit into
mainfrom
feature/profile-img
Feb 11, 2026
Merged

프로필 이미지 컴포넌트 수정#51
HWAN0218 merged 1 commit into
mainfrom
feature/profile-img

Conversation

@HWAN0218

Copy link
Copy Markdown
Contributor

Summary

스크린샷 2026-02-11 오전 5 36 43
  • 프로필 이미지 버전 회색 배경 추가
  • 에딧버튼 보더 모바일에서만 적용
  • 라운딩 추가

Issue

@HWAN0218 HWAN0218 added this to the 컴포넌트 milestone Feb 10, 2026
@HWAN0218 HWAN0218 requested review from a team, Jieunsse, jungwon123 and yooolleee February 10, 2026 20:38
@HWAN0218 HWAN0218 self-assigned this Feb 10, 2026
@HWAN0218 HWAN0218 added the 기능추가 기능개발 및 추가할 때 사용해주세요. label Feb 10, 2026
@HWAN0218 HWAN0218 added this to workers Feb 10, 2026
@github-project-automation github-project-automation Bot moved this to 개발 대기중 in workers Feb 10, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @HWAN0218, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 기존 프로필 이미지 컴포넌트의 시각적 개선과 기능 확장을 목표로 합니다. 이미지 로딩 실패 시 회색 배경을 추가하고, 모바일 환경에서 에딧 버튼의 테두리 스타일을 조정하며, 다양한 라운딩 옵션을 제공하여 컴포넌트의 유연성을 높였습니다. 또한, 새로운 ProgressBar 컴포넌트를 추가하여 애플리케이션 전반에서 진행 상태를 표시할 수 있는 표준화된 방법을 제공합니다.

Highlights

  • 프로필 이미지 컴포넌트 개선: 프로필 이미지 로딩 실패 시 회색 배경을 추가하고, 모바일 환경에서 에딧 버튼의 테두리 스타일을 조건부로 적용하며, 새로운 라운딩 옵션(r6, r16)을 추가하여 컴포넌트의 유연성을 높였습니다.
  • 프로필 이미지 크기 조정: sm 및 xs 사이즈의 프로필 이미지 박스와 내부 이미지 크기 프리셋을 조정하여 더 세밀한 제어가 가능하도록 했습니다.
  • 새로운 ProgressBar 컴포넌트 추가: 진행률을 시각적으로 표시하는 재사용 가능한 ProgressBar 컴포넌트가 새로 추가되었습니다. 이 컴포넌트는 애니메이션 및 다양한 진행률 계산 방식을 지원합니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • src/components/profile-img/ProfileImage.module.css
    • 마스크 배경을 'inherit'에서 'transparent'로 변경했습니다.
    • 프로필 이미지 폴백 배경 스타일을 추가했습니다.
    • 'r6' 및 'r16' 라운딩 클래스를 추가했습니다.
    • 모바일 환경에서 에딧 버튼에 테두리를 적용하는 미디어 쿼리를 추가했습니다.
    • md 이상 크기에서 에딧 버튼의 테두리를 제거했습니다.
  • src/components/profile-img/ProfileImage.tsx
    • ProfileImageRadius 타입에 'r6'와 'r16'을 추가했습니다.
    • sm 및 xs 프로필 이미지 사이즈 프리셋을 조정했습니다.
    • 기본 radius 값을 'r12'에서 'r16'으로 변경했습니다.
    • 이미지 로딩 상태에 따른 폴백 배경 및 object-fit 스타일 적용 로직을 개선했습니다.
  • src/components/progressbar/ProgressBar.module.css
    • 새로운 진행률 바 트랙 및 채우기 스타일을 정의했습니다.
    • 다양한 화면 크기에 대한 반응형 스타일을 포함했습니다.
  • src/components/progressbar/ProgressBar.tsx
    • ProgressBar React 컴포넌트를 구현했습니다.
    • value, done, total prop을 통해 진행률을 계산합니다.
    • 애니메이션, 마운트 시 재생, 지속 시간 등의 옵션을 제공합니다.
  • src/components/progressbar/index.ts
    • ProgressBar 컴포넌트와 관련 타입을 내보내도록 설정했습니다.
Activity
  • 이 PR에는 현재까지 추가적인 활동(댓글, 리뷰 등)이 없습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

프로필 이미지 컴포넌트의 스타일을 개선하고 새로운 ProgressBar 컴포넌트를 추가하는 PR이네요. 전반적으로 코드 변경 사항이 명확하고, 특히 ProfileImage 컴포넌트의 클래스명 관리 방식 개선과 CSS 리팩토링이 인상적입니다. 새로 추가된 ProgressBar 컴포넌트는 애니메이션과 접근성을 잘 고려하여 구현되었습니다. 다만, PR의 제목과 설명이 프로필 이미지 컴포넌트에 대해서만 언급하고 있어, 새로 추가된 ProgressBar 컴포넌트에 대한 내용도 포함하면 변경 사항을 파악하는 데 더 도움이 될 것 같습니다. 코드 리뷰에서는 ProgressBar의 CSS에서 repeating-linear-gradient 속성 값에 수정이 필요한 부분을 발견하여 코멘트를 남겼습니다.

Comment on lines +11 to +17
repeating-linear-gradient(
-45deg,
rgba(0, 0, 0, 0.04) 0px,
rgba(0, 0, 0, 0.04) 40px,
rgba(255, 255, 255, 0.7) 10px,
rgba(255, 255, 255, 0.7) 80px
),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

repeating-linear-gradient의 색상 정지(color-stop) 위치가 오름차순으로 정렬되어 있지 않습니다. rgba(255, 255, 255, 0.7) 10px는 이전의 40px보다 작기 때문에 브라우저에서 40px로 처리됩니다. 이는 의도치 않은 동작을 유발할 수 있으며 코드 가독성을 해칩니다. 의도하신 바가 줄무늬 효과라면, 색상 정지 위치를 명시적으로 수정하는 것이 좋습니다.

Suggested change
repeating-linear-gradient(
-45deg,
rgba(0, 0, 0, 0.04) 0px,
rgba(0, 0, 0, 0.04) 40px,
rgba(255, 255, 255, 0.7) 10px,
rgba(255, 255, 255, 0.7) 80px
),
repeating-linear-gradient(
-45deg,
rgba(0, 0, 0, 0.04) 0px,
rgba(0, 0, 0, 0.04) 40px,
rgba(255, 255, 255, 0.7) 40px,
rgba(255, 255, 255, 0.7) 80px
),

@HWAN0218 HWAN0218 force-pushed the feature/profile-img branch from c95dfb7 to 7ba1a7a Compare February 10, 2026 20:50
@HWAN0218 HWAN0218 merged commit 93e8226 into main Feb 11, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from 개발 대기중 to 개발 완료 in workers Feb 11, 2026
@HWAN0218 HWAN0218 deleted the feature/profile-img branch February 23, 2026 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

기능추가 기능개발 및 추가할 때 사용해주세요.

Projects

Status: 개발 완료

Development

Successfully merging this pull request may close these issues.

2 participants